import Vue from "vue";
import App from "./App.vue";
// 导入ElementUI
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";

Vue.use(ElementUI);
// 导入路由
import router from "@/router/index.js";
// 注册

import axios from "axios";

let _fetch = axios.create({
  baseURL: process.env.VUE_APP_URL,
});

Vue.prototype.$axios = _fetch;

Vue.config.productionTip = false;
// 导入

import store from "@/store/index.js";

new Vue({
  store,
  router,
  render: (h) => h(App),
}).$mount("#app");
